﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="Directory.Web.ChangePassword" MasterPageFile="~/DefaultMasterPage.master" Theme="Default" Codebehind="ChangePassword.aspx.cs" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
		<title><% = Directory.Web.WebSettings.GetInstance().SiteName %> — 更改密码</title>
</asp:Content>
<asp:Content runat="server" ContentPlaceHolderID="ContentPlaceHolder2">
	<table>
		<tr>
			<td><label>旧密码：</label></td>
			<td>
				<asp:TextBox ID="tbRawPassword" runat="server" TextMode="Password"></asp:TextBox></td>
		</tr>
		<tr>
			<td><label>新密码：</label></td>
			<td>
				<asp:TextBox ID="tbPassword" runat="server" TextMode="Password"></asp:TextBox>
				<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*" ControlToValidate="tbPassword"></asp:RequiredFieldValidator></td>
		</tr>
		<tr>
			<td><label>重新输入新密码：</label></td>
			<td>
				<asp:TextBox ID="tbVerifyPwd" runat="server" TextMode="Password"></asp:TextBox>
				<asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="密码不一致" ControlToCompare="tbPassword" ControlToValidate="tbVerifyPwd"></asp:CompareValidator></td>
		</tr>
		<tr>
			<td></td>
			<td>
				<asp:Button ID="btnChangePwd" runat="server" Text="更改密码" onclick="btnChangePwd_Click" />
				<asp:Literal ID="ltMsg" runat="server"></asp:Literal>
			</td>
		</tr>
	</table>
</asp:Content>